<template>
    <div>
        <el-menu background-color="#545c64" text-color="#ffffff"
                 active-text-color="#ffd04b" default-active="2"  class="el-menu-vertical-demo" router >
            <!-- <el-submenu index="1">
                <template slot="title"><i class="el-icon-location"></i><span>一级菜单1</span></template>
                <el-menu-item index="1-1">选项1</el-menu-item>
                <el-menu-item index="1-2">选项2</el-menu-item>
            </el-submenu> -->
            <el-menu-item index="/index/menu1"><i class="el-icon-document"></i>一级菜单1</el-menu-item>
            <el-menu-item index="/index/menu2"><i class="el-icon-document"></i>一级菜单2</el-menu-item>
            <el-menu-item index="/index/menu3"><i class="el-icon-setting"></i>一级菜单3</el-menu-item>
        </el-menu>




    </div>
</template>
<script>
export default {
    name: 'Aside',
    components: {

    },
    mixins: [],
    props: {

    },
    data() {
        return {

        }
    },
    computed: {

    },
    watch: {

    },
    mounted() {

    },
    methods: {
        handleOpen: function () {

        },
        handleClose: function () {

        },
        handSelect: function () {

        }
    }
};
</script>
<style  scoped>

.el-menu-vertical-demo{
        height: 100%;
    }
</style>